package com.b.repository;

import com.b.domain.Address;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.Optional;

/**
 * @Description 
 * @Author jdj
 * @Date 2025/7/25
 */
public interface AddressRepository extends ElasticsearchRepository<Address,Integer> {

    Optional<Address> findByUserId(Integer userId);
}
